<!DOCTYPE html >
<!--  Website template by freewebsitetemplates.com  -->
<html><!-- InstanceBegin template="/Templates/TDPetshop.dwt" codeOutsideHTMLIsLocked="false" -->

<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Change Password</title>
<!-- InstanceEndEditable -->
<script src="http://code.jquery.com/jquery-latest.js" language="javascript" type="text/javascript"></script>
<meta  charset=iso-8859-1" />
	<link href="css/style.css" rel="stylesheet" type="text/css" />
	<!--[if IE 6]>
		<link href="css/ie6.css" rel="stylesheet" type="text/css" />
	<![endif]-->
	<!--[if IE 7]>
        <link href="css/ie7.css" rel="stylesheet" type="text/css" />  
	<![endif]-->
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<!--<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>-->
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
<!--<script language="javascript" src="jquery.js" type="text/javascript"></script>
<script language="javascript" src="jquery.validate.min.js" type="text/javascript"></script>  -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="head" -->
<?php
require_once("validLogin.php");
require_once("Connections/cnn.php");
Validlogin();
?>
<script src="changePass.js" language="javascript" type="text/javascript"></script>
<!-- InstanceEndEditable -->
</head>

<body>

	  
			<div id="header">
	           		<a href="index.php" id="logo"><img src="images/logo.gif" width="310" height="114" alt="" title=""></a>
					<ul class="navigation">
						<li class="active"><a href="index.php">Home</a></li>
						<li><a href="petmart.php">PetMart</a></li>
						<li><a href="about.php">About us</a></li>
						<li><a href="petguide.php">PetGuide</a></li>
						<li><a href="contact.php">Contact us</a></li>
                        <li><a href="login.php">Account</a></li>
					</ul>
			</div>
			
			<div id="body">
			
					<!-- InstanceBeginEditable name="body" -->
			       	<div id="content">
                    	<div class="content">
                        <div id="changepass">			
                        <form id="changepassForm" name="changepassForm" action="changepassProcess.php" method="post">
                            <table>
                                <tr>
                                    <td>Current Password</td>
                                    <td>:</td>
                                    <td><input class="password" type="password" id="curPass" name="curPass" class="required" placeholder="Type your curent password"/></td>
                                    <td id="showMsgCurPass"></td>
                                </tr>
                                <tr><td>&nbsp;</td></tr>
                                <tr>
                                    <td>New Password</td>
                                    <td>:</td>
                                    <td><input class="password" type="password" id="newPass" name="newPass" class="required" placeholder="Type your new password"/></td>
                                    <td id="showMsgNewPass"></td>
                                </tr>
                                <tr><td>&nbsp;</td></tr>
                                <tr>
                                    <td>Confirm New Password</td>
                                    <td>:</td>
                                    <td><input class="password" type="password" id="connewPass" name="connewPass" class="required" placeholder="Retype your new password" /></td>
                                    <td id="showMsgReNewPass"></td>
                                </tr>
                                <tr><td>&nbsp;</td></tr>
                                <tr>
                                <?php 
                                    echo "<td id='success'>";
									if(isset($_REQUEST['errorMsg']))
									{
										echo $_REQUEST['errorMsg'];
									}
									echo "</td>";  
								?>
                                </tr>
                                <tr><td>&nbsp;</td></tr>
                                </table>
                                
                                <table border="0" align="center">
                                <tr>    
                                    <td colspan="4" align="center">
                                    <input class="button" type="submit" value="Change" id="ChangeBtn" name="ChangeBtn"/>
                                    <input class="button" type="button" value="Cancel" onclick="location.href='account.php'" />
                                    </td>
                            </table>
                        </form>
                    </div>
				       	</div>
                    <div id="advertise">					
						<a href="petmart.php"><img src="images/discount.jpg" width="300" height="790" alt="Pet Shop" title="Pet Shop"></a>
					</div>
		     		</div>
				   	<!-- InstanceEndEditable -->
				   	
                    <marquee class="marquee">Lorem ipsum dolor sit amet, consectetuer adepiscing elit, sed diam nonummy nib.</marquee>
                    
                    <div class="featured">
				        <ul>
							<li><a href="index.php"><img src="images/organic-and-chemical-free.jpg" width="300" height="90" alt="Pet Shop" title="Pet Shop" ></a></li>
							<li><a href="index.php"><img src="images/good-food.jpg" width="300" height="90" alt="Pet Shop" title="Pet Shop" ></a></li>
							<li class="last"><a href="index.php"><img src="images/pet-grooming.jpg" width="300" height="90" alt="Pet Shop" title="Pet Shop" ></a></li>
						</ul>
				        
				   </div>
				  
			
			</div>
			
			<div id="footer">
			        <div class="section">
						<ul>
							<li>
								<img src="images/friendly-pets.jpg" width="240" height="186" alt="Pet Shop" title="Pet Shop">
								<h2><a href="index.php">Friendly Pets</a></h2>
								<p>
								   Lorem ipsum dolor sit amet, consectetuer adepiscing elit,  sed diam nonummy nib. <a class="more" href="index.php">Read More</a> 
								</p>
							</li>	
							<li>
								<img src="images/pet-lover2.jpg" width="240" height="186" alt="Pet Shop" title="Pet Shop">
								<h2><a href="index.php">How dangerous are they</a></h2>
								<p>
								   Lorem ipsum dolor sit amet, cons ectetuer adepis cing, sed diam euis. <a class="more" href="index.php">Read More</a> 
								</p>
							</li>	
							<li>
								<img src="images/healthy-dog.jpg" width="240" height="186" alt="Pet Shop" title="Pet Shop">
								<h2><a href="index.php">Keep them healthy</a></h2>
								<p>
								   Lorem ipsum dolor sit amet, consectetuer adepiscing elit,  sed diam nonu mmy. <a class="more" href="index.php">Read More</a> 
								</p>
							</li>	
							<li>
								
								<h2><a href="index.php">Love...love...love...pets</a></h2>
								<p>
								     Lorem ipsum dolor sit amet, consectetuer adepiscing elit,  sed diameusim. <a class="more" href="index.php">Read More</a> 
								</p>
								<img src="images/pet-lover.jpg" width="240" height="186" alt="Pet Shop" title="Pet Shop">
							</li>	
						</ul>
					</div>
					<div id="footnote">
						<div class="section">
						  TommyDo designed &copy; 2014 <a href="index.php">Petshop</a>. All Rights Reserved.
						</div>
					</div>
			</div>
			
	
</body>
<!-- InstanceEnd --></html>